#include<stdio.h>
int main()
{
    int n=12345;
    for(n=12345;n;n/=10)
        printf("%d",n%10);

    return 0;
}
